﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class User
    {

        private string rolnaam;

        public string Rolnaam
        {
            get { return rolnaam; }
            set { rolnaam = value; }
        }

        private int teamID;

        public int TeamID
        {
            get { return teamID; }
            set { teamID = value; }
        }

        private int userID;

        public int UserID
        {
            get { return userID; }
            set { userID = value; }
        }
        private int RoleID;

        public int roleID
        {
            get { return RoleID; }
            set { RoleID = value; }
        }
        private string Login;

        public string login
        {
            get { return Login; }
            set { Login = value; }
        }
        private string Passwoord;

        public string passwoord
        {
            get { return Passwoord; }
            set { Passwoord = value; }
        }
        private string Name;

        public string name
        {
            get { return Name; }
            set { Name = value; }
        }

        private string FirstName;
        private string username;

        public string Firstname
        {
            get { return FirstName; }
            set { FirstName = value; }
        }


        public User(int userID, int RoleID, string Login, string passwoord, string name, string Firstname)
        {
            this.UserID = userID;
            this.roleID = RoleID;
            this.login = Login;
            this.passwoord = passwoord;
            this.name = name;
            this.Firstname = Firstname;
        }

        public User()
        {

        }

        public User(int userID, int RoleID, string Login, string passwoord, string name, string Firstname, string rolnaam)
        {
            this.UserID = userID;
            this.roleID = RoleID;
            this.login = Login;
            this.passwoord = passwoord;
            this.name = name;
            this.Firstname = Firstname;
            this.rolnaam = rolnaam;
        }

        public User(int userID, int RoleID, string Login, string passwoord, string name, string Firstname, string rolnaam, int teamID)
        {
            this.UserID = userID;
            this.roleID = RoleID;
            this.login = Login;
            this.passwoord = passwoord;
            this.name = name;
            this.Firstname = Firstname;
            this.rolnaam = rolnaam;
            this.teamID = teamID;

        }

        public User(string username)
        {
            this.username = username;
        }


        public override string ToString()
        {
            return this.name;
        }
    }
}
